import permission from '@/directive/permission/index.js' // 权限判断指令
import checkPermission from '@/utils/permissionCheck' // 权限判断函数
export default {
	directives: {
		permission
	},
	data() {
		return {
			/**
			 * 分页信息
			 */
			pageInfo: {
				total: 0,
				currentPage: 1,
				currentSize: 10
			},
			/**
			 * 树节点信息
			 */
			defaultProps: {
				children: 'children',
				label: 'name'
			},
		}
	},
	methods: {
		checkPermission
	}

}
